import 'package:flutter/material.dart';
import 'package:flutter_easyloading/flutter_easyloading.dart';

class CustomAnimation extends EasyLoadingAnimation {
  CustomAnimation();

  @override
  Widget buildWidget(Widget child, AnimationController controller, AlignmentGeometry alignment,) {
    return FadeTransition(
      opacity: Tween(
          begin: 0.0,
          end: 0.5
      ).animate(controller),
      child: child,
    );
  }
}